BubbleMetadata
Encapsulates the information needed to display a notification as a bubble.
A bubble is used to display app content in a floating window over the existing foreground activity. A bubble has a collapsed state represented by an icon, setIcon and an expanded state which is populated via setIntent.
Notifications with a valid and allowed bubble will display in collapsed state outside of the notification shade on unlocked devices. When a user interacts with the collapsed bubble, the bubble intent will be invoked and displayed.See also
Types
Link copied to clipboard
class Builder
Builder to construct a BubbleMetadata object.
Functions
Link copied to clipboard
open fun fromPlatform(@Nullable platformMetadata: Notification.BubbleMetadata): NotificationCompat.BubbleMetadata
Converts a platform-level Notification.BubbleMetadata to a NotificationCompat.BubbleMetadata.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun toPlatform(@Nullable compatMetadata: NotificationCompat.BubbleMetadata): Notification.BubbleMetadata
Converts a NotificationCompat.BubbleMetadata to a platform-level Notification.BubbleMetadata.